<!--#include virtual="/Common/Config.asp" -->
<!--#include virtual="/Common/conn.asp" -->
<!--#include virtual="/2010admin/Check_IsLogin.asp" -->
<!--#include virtual="/Common/Function.asp" -->
<!--#include file="Admin_Menu_Inc.asp" -->
<!--#include virtual="/2010admin/Check_Priv.asp"-->

<%
Dim useranme,password,Super,Lock

If Request.ServerVariables ("Request_Method")="POST" Then

	'禁止从网站外部提交数据
	Call Deny_OutSiteSubit()

	Call Admin_Menu_Edit()	
Else

	MenuID = requery("MenuID")


	Call Get_Admin_Menu_Info(MenuID)

End If


%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="/2010admin/css/default.css" type="text/css" rel="stylesheet">
<title><%=web_title%></title>
<script language="javascript" src="/js/main.js"></script>
<script language="javascript" src="/js/selects.js"></script>
<script language="javascript" src="/js/manage.js"></script>
<script language="javascript" src="/2010admin/js/validator.js"></script>
</head>
<script type="text/javascript">
function CG_popedom(strers)
{
  if (strers == "0") get_id("tr_popedom").style.display = '';
  else get_id("tr_popedom").style.display = 'none';
}
</script>
<table border="0" width="100%" cellSpacing="0" cellPadding="0">
  <tr>
    <td width="100%" height="5"></td>
  </tr>
  <tr>
    <td width="100%" align="center">
      <table border="0" width="98%" cellSpacing="0" cellPadding="0">
        <tr>
          <td width="*" align="center" valign="top">
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop">管理导航</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="20">&nbsp;&nbsp;<img src="/2010admin/images/sico.gif" border="0">&nbsp;<span id="userlist"><a href="Admin_Menu_Query.asp">菜单列表</a></span>&nbsp;<img src="/2010admin/images/sico.gif" border="0">&nbsp;<span id="useradd"><a href="Admin_Menu_Add.asp">增加新的菜单</a></span></td>
                    </tr>
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0">
              <tr>
                <td width="100%" height="5"></td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop">编辑用户</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                  <form name="form" method="post" action="" onSubmit="return Validator.Validate(this, 2)">
                    <tr>
                      <td width="80" height="25">菜单名称</td>
                      <td width="*"><input type="text" name="MenuName" value="<%=MenuName%>" size="20" dtype="Limit" min="2" max="100" dmsg="菜单名称必须在2-100个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">菜单是否可见</td>
                      <td width="*"><% MyRadioList "MenuVisibled","1,0","可见,不可见",MenuVisibled%> </td>
                    </tr>

                    <tr>
                      <td height="25"></td>
                      <td><input type="submit" name="submit1" value="提交" class="button"></td>
                    </tr>
					<INPUT TYPE="hidden" NAME="MenuID" value="<%=MenuID%>">
                  </form>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="100%" height="5"></td>
  </tr>
</table>
</body>
</html>
<%
Call conn_close()
%>

